			
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using DDF.Entity;
using System.Runtime.Serialization;
using Chinesys.DataModel.Gateways;
		
namespace Chinesys.Entities
{
	
	public partial class SubCategory : EntityBase
	{
		private SubCategoryRow row;
		
		public SubCategory(SubCategoryRow row)
		{
			this.row = row;
		}
		
		public SubCategory()
		{
			this.row = new SubCategoryRow();
		}
		
		public int Id
		{
			get { return row.Id; }
			set { row.Id = value; }
		}

		public string Name
		{
			get { return row.Name; }
			set { row.Name = value; }
		}

		
		public SubCategoryRow GetRow()
        {
            return row;
        }
		
		
	} 
} 
